Skip to content

fix(tracker): close session timers on end - #7

Merged
taigrr merged 2 commits into
masterfrom
cd/round3-20260804-maintenance
Aug 8, 2026
Merged

taigrr merged 2 commits into
masterfrom
cd/round3-20260804-maintenance

Conversation

@taigrr

@taigrr taigrr commented Aug 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • close debounce and idle timers whenever a tracker session ends
  • keep flush timer cleanup behind the same session cleanup path
  • add a regression spec that asserts all session timers close on end

Tests

  • stylua lua/ plugin/ tests/
  • luacheck lua/ plugin/ tests/
  • headless Neovim regression specs under tests/*_spec.lua

taigrr added 2 commits August 4, 2026 07:03
Exercise end_session via the idle timer's own scheduled callback (the
path the cleanup must stay safe on), assert stop-before-close ordering,
and verify closed handles are not reused. Tighten the timer mock to
error on use-after-close. Update AGENTS.md timer invariant.
@taigrr
taigrr merged commit 6f013c5 into master Aug 8, 2026
3 checks passed
@taigrr
taigrr deleted the cd/round3-20260804-maintenance branch August 8, 2026 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant